import request from '@/utils/request'

/**
 * 上传图片
 * @returns AxiosPromise
 */
export default function upload(param) {
  return request({
    url: '/file/upload',
    method: 'post',
    data: param,
    prefix: false
  })
}
